#ifndef __COMMON_AUDIO__
#define __COMMON_AUDIO__

#include "common_def.h"

#include "asm/includes.h"
#include "media/includes.h"
#include "system/includes.h"
#include "asm/audio_src.h"

void common_audio_init(void);

int common_audio_dac_write(s16 *data, int len);
void common_audio_dac_open(int sample_rate, s16 volume);
void common_dac_audio_close(void);

int common_audio_output_data_db_calc_simple(short *data, unsigned short len,unsigned char channels);

#endif  /*__COMMON_AUDIO__*/
